package com.yonyou.train.model;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Objects;

public class User {
    private long id;
    private int dr;
    private Date sys_created_time;
    private Date sys_modified_time;
    private long dept_id;
    private String dept_name;
    private String name;
    private String staff_no;
    private String mobile;
    private String email;
    private String sex;
    private String password;
    private String avatar;
    private int type;
    private String workstatus;
    private String filed;
    private Date join_date;

    public Date getJoin_date() {
        return join_date;
    }

    public void setJoin_date(Date join_date) {
        this.join_date = join_date;
    }

    public long getId() {
        return id;
    }

    public int getDr() {
        return dr;
    }

    public Date getSys_created_time() {
        return sys_created_time;
    }

    public Date getSys_modified_time() {
        return sys_modified_time;
    }

    public long getDept_id() {
        return dept_id;
    }

    public String getDept_name() {
        return dept_name;
    }

    public String getName() {
        return name;
    }

    public String getStaff_no() {
        return staff_no;
    }

    public String getMobile() {
        return mobile;
    }

    public String getEmail() {
        return email;
    }

    public String getSex() {
        return sex;
    }

    public String getPassword() {
        return password;
    }

    public String getAvatar() {
        return avatar;
    }

    public int getType() {
        return type;
    }

    public void setId(long id) {
        this.id = id;
    }

    public void setDr(int dr) {
        this.dr = dr;
    }

    public void setSys_created_time(Date sys_created_time) {
        this.sys_created_time = sys_created_time;
    }

    public void setSys_modified_time(Date sys_modified_time) {
        this.sys_modified_time = sys_modified_time;
    }

    public void setDept_id(long dept_id) {
        this.dept_id = dept_id;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setStaff_no(String staff_no) {
        this.staff_no = staff_no;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setType(int type) {
        this.type = type;
    }


    public String getFiled() {
        return filed;
    }

    public void setFiled(String filed) {
        this.filed = filed;
    }

    public String getWorkstatus() {
        return workstatus;
    }

    public void setWorkstatus(String workstatus) {
        this.workstatus = workstatus;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", dr=" + dr +
                ", sys_created_time=" + sys_created_time +
                ", sys_modified_time=" + sys_modified_time +
                ", dept_id=" + dept_id +
                ", dept_name='" + dept_name + '\'' +
                ", name='" + name + '\'' +
                ", staff_no='" + staff_no + '\'' +
                ", mobile='" + mobile + '\'' +
                ", email='" + email + '\'' +
                ", sex='" + sex + '\'' +
                ", password='" + password + '\'' +
                ", avatar='" + avatar + '\'' +
                ", type=" + type +
                ", workstatus='" + workstatus + '\'' +
                ", filed='" + filed + '\'' +
                ", join_date=" + join_date +
                '}';
    }
}
